/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package wo.cput.pattern.mediator;

/**
 *
 * @author Administrator
 */
public class Buyer {
    Mediator med;

    
    public Buyer(Mediator med){
        this.med=med;

    }
    
    public boolean attemptBuy(double bid){
        System.out.println("current bid: " + bid);
        return med.placeBid(bid);
    }
}
